﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Apps.Model.Input
{
    public class MenuInput
    {
        /// <summary>
        /// 父ID
        /// </summary>
        //[Required(ErrorMessage = "ParentId不能为空")]
        public int ParentId { get; set; } = 0;

        /// <summary>
        /// 标题
        /// </summary>
        [Required(ErrorMessage = "菜单名称不能为空")]
        public string MenuName { get; set; }

        /// <summary>
        /// 菜单类型
        /// </summary>
        public string MenuType { get; set; }

        /// <summary>
        /// 路径
        /// </summary>
        [Required(ErrorMessage = "Path不能为空")]
        public string Path { get; set; }
    }
}
